n = int(input())
b=bin(n)
b=str(b)
str2=b[2:]
print(str2)
s=0


